Skip to content

Add strict translation validation and evaluation baseline - #2

Merged
Tom-R-Main merged 3 commits into
mainfrom
codex/strict-i18n-validator
Sep 3, 2026
Merged

Tom-R-Main merged 3 commits into
mainfrom
codex/strict-i18n-validator

Conversation

@Tom-R-Main

Copy link
Copy Markdown
Owner

Summary

  • add opt-in validate --strict and --require-state modes with stable finding codes
  • separate structural and translated coverage; detect source-identical, blank, protected-structure, glossary, plural, and manifest-state failures
  • share translation-policy resolution between translation and validation without changing the v1 policy hash
  • generate and validate configured i18next-v4 target plural forms across JSON and YAML
  • freeze the v1 deterministic/future-TM evaluation corpus and the pre-change baseline at c95cfbd

Verification

  • GOTOOLCHAIN=local GOPROXY=off go build ./...
  • GOTOOLCHAIN=local GOPROXY=off go test ./... -race -covermode=atomic -coverprofile=coverage.out
  • ./scripts/check-go-coverage.sh coverage.out 60.0 (67.7%)
  • GOTOOLCHAIN=local GOPROXY=off go vet ./...
  • golangci-lint run
  • node --test test/npm-wrapper.test.cjs
  • node ./scripts/check-npm-package-versions.mjs
  • npm pack --dry-run
  • git diff --check

Deferred

This PR intentionally does not implement fuzzy-TM reuse/repair, manifest v2, review/approval state, provider resilience, ESLint enforcement, or the ExecuFunction rollout. Those remain follow-on work using the frozen evaluation contract.

Signed-off-by: Tom Main <tom@execufunction.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-03T23:00:23.574131Z 41d1651 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Signed-off-by: Tom Main <tom@execufunction.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 41d1651753

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread internal/validate/validate.go Outdated
Comment thread internal/formats/yaml.go
Comment thread internal/translate/translate.go
Signed-off-by: Tom Main <tom@execufunction.com>
@Tom-R-Main
Tom-R-Main merged commit a5bb8af into main Sep 3, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant